<template>
  <div>
    <el-card class="oneCard">
      <div>
        <div>
          <el-link :type="type" :underline="false">{{ total }}</el-link>
          <h2>{{ name }}</h2>
        </div>
        <div><svg-icon :icon-class="icon" /></div>
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  name: 'UseGoods',
  data() {
    return {
      icon: 'transferAsset',
      type: 'primary',
      total: 0,
      name: '领用配件（件）'
    }
  },
  mounted() {
    this.getTotal()
  },
  methods: {
    // 获取数量
    getTotal() {
    //   auditNumByUser().then(res => {
    //     this.total = res.data ? res.data : 0
    //   })
    }
  }
}
</script>
